package frontend.model.reports;

import backend.model.base.DBModel;
import backend.model.admin.Foreman;
import frontend.model.base.UIModel;

import java.util.Date;
import java.util.LinkedHashSet;
import java.util.Set;

public class ManningReportUIModel implements UIModel {

    private Date date;
    private Set<Foreman> foremen;

    public ManningReportUIModel(Date currentDate) {
        this.date = currentDate;
        foremen = new LinkedHashSet<Foreman>();
    }

    @Override
    public DBModel getDBModel() {
        // no DB model for this UI model
        return null;
    }

    @Override
    public void populateDBModelFromFields() {
        // no DB model for this UI model
    }

    @Override
    public void populateFieldsFromDBModel() {
        // no DB model for this UI model
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Set<Foreman> getForemen() {
        return foremen;
    }

    public void setForemen(Set<Foreman> foremen) {
        this.foremen = foremen;
    }
}
